package com.yuyou.tas.report.mapper;

import com.yuyou.tas.service.api.report.entity.ExamModelWordPass;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface ExamModelWordPassMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExamModelWordPass record);

    ExamModelWordPass selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExamModelWordPass record);

    void delByWordId(@Param(value = "examModelWordId") Long examModelWordId);

    ExamModelWordPass getByScore(@Param(value = "examId")Long examId , @Param(value = "score")BigDecimal score);
}